package com.x.crm.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@MappingTable(tableName = "CRM_FOLLOW_REACH")
public class FollowReach extends BaseObject{

	@MappingColumn(columnName = "FOLLOW_REACH_ID", columnPk = true, columnLength = 32)
	private String followReachId;

	@MappingColumn(columnName = "REACH_CUSTOMER_NAME")
	private String reachCustomerName;

	@MappingColumn(columnName = "REACH_FOLLOWER_ID")
	private String reachFollowerId;

	@MappingColumn(columnName = "REACH_FOLLOWER_NAME")
	private String reachFollowerName;

	@MappingColumn(columnName = "REACH_LEVEL_ID")
	private String reachLevelId;

	@MappingColumn(columnName = "REACH_LEVEL_TXT")
	private String reachLevelTxt;

	@MappingColumn(columnName = "REACH_RECEIVER_ID")
	private String reachReceiverId;

	@MappingColumn(columnName = "REACH_RECEIVER_NAME")
	private String reachReceiverName;

	@MappingColumn(columnName = "REACH_TIME")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date reachTime;

	@MappingColumn(columnName = "IS_APPOINT")
	private Integer isAppoint;

	@MappingColumn(columnName = "REACH_FOLLOW_REMARK")
	private String reachFollowRemark;

	@MappingColumn(columnName = "INTENTION_ID")
	private String intentionId;

	@MappingColumn(columnName = "REACH_UPDATE_TIME")
	private Date reachUpdateTime;

	@MappingColumn(columnName = "REACH_CREATE_TIME")
	private Date reachCreateTime;

	public String getFollowReachId() {
		return followReachId;
	}

	public void setFollowReachId(String followReachId) {
		this.followReachId = followReachId;
	}

	public String getReachCustomerName() {
		return reachCustomerName;
	}

	public void setReachCustomerName(String reachCustomerName) {
		this.reachCustomerName = reachCustomerName;
	}

	public String getReachFollowerId() {
		return reachFollowerId;
	}

	public void setReachFollowerId(String reachFollowerId) {
		this.reachFollowerId = reachFollowerId;
	}

	public String getReachFollowerName() {
		return reachFollowerName;
	}

	public void setReachFollowerName(String reachFollowerName) {
		this.reachFollowerName = reachFollowerName;
	}

	public String getReachLevelId() {
		return reachLevelId;
	}

	public void setReachLevelId(String reachLevelId) {
		this.reachLevelId = reachLevelId;
	}

	public String getReachLevelTxt() {
		return reachLevelTxt;
	}

	public void setReachLevelTxt(String reachLevelTxt) {
		this.reachLevelTxt = reachLevelTxt;
	}

	public String getReachReceiverId() {
		return reachReceiverId;
	}

	public void setReachReceiverId(String reachReceiverId) {
		this.reachReceiverId = reachReceiverId;
	}

	public String getReachReceiverName() {
		return reachReceiverName;
	}

	public void setReachReceiverName(String reachReceiverName) {
		this.reachReceiverName = reachReceiverName;
	}

	public Date getReachTime() {
		return reachTime;
	}

	public void setReachTime(Date reachTime) {
		this.reachTime = reachTime;
	}

	public Integer getIsAppoint() {
		return isAppoint;
	}

	public void setIsAppoint(Integer isAppoint) {
		this.isAppoint = isAppoint;
	}

	public String getReachFollowRemark() {
		return reachFollowRemark;
	}

	public void setReachFollowRemark(String reachFollowRemark) {
		this.reachFollowRemark = reachFollowRemark;
	}

	public String getIntentionId() {
		return intentionId;
	}

	public void setIntentionId(String intentionId) {
		this.intentionId = intentionId;
	}

	public Date getReachUpdateTime() {
		return reachUpdateTime;
	}

	public void setReachUpdateTime(Date reachUpdateTime) {
		this.reachUpdateTime = reachUpdateTime;
	}

	public Date getReachCreateTime() {
		return reachCreateTime;
	}

	public void setReachCreateTime(Date reachCreateTime) {
		this.reachCreateTime = reachCreateTime;
	}
}
